﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xrm.Solutions.FrameworkSample.Common;

namespace Xrm.Solutions.FrameworkSample.UnitTests
{
    [TestClass]
    public class TestIdentityCheckService
    {
        [TestMethod]
        public void TestIdentityScore()
        {
            IdentityCheckService service = new IdentityCheckService();

            int score = service.RunCheck("Any", "Any", DateTime.Now, "Here");

            Assert.IsTrue(score > 0 && score < 100);
        }
    }
}
